package com.lagou.demo.service.impl;

import com.lagou.demo.service.IDemoService;
import com.lagou.edu.mvcframework.annotation.LagouService;
import com.lagou.edu.mvcframework.annotation.Security;

@LagouService("demoService")
@Security(value = {"zhangsan","lisi"})
public class DemoServiceImpl implements IDemoService {
    @Override
    public String get(String name) {
        System.out.println(name + "可以访问");
        return name;
    }
}
